package week09.question02.service;


import week09.question02.dto.UserReqDto;

import javax.jws.WebParam;
import javax.jws.WebService;


@WebService(targetNamespace = "http://service.server.cxf.com/")
public interface UserService {

    /**
     * 添加用户
     * @param email
     * @param username
     * @param password
     * @return
     */
    int addUser(@WebParam(name = "email") String email, @WebParam(name = "username") String username, @WebParam(name = "password") String password);

    /**
     * 更新用户信息
     * @param userReqDto
     * @return
     */
    int updateUser(@WebParam(name="user") UserReqDto userReqDto);
}